package com.jsbj.user.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jsbj.user.entities.SysDictData;
import com.jsbj.user.entities.SysEqu;
import com.jsbj.user.entities.SysEquFieldConfig;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 设备表 服务类
 * </p>
 *
 * @author jsbj
 * @since 2022-03-07
 */
public interface ISysEquService extends IService<SysEqu> {

    List<SysEqu> getByCondition(JSONObject object);

    SysEqu getInfoByEquNum(String equNum);

    String add(List<Map<String,Object>> params) throws Exception;

    String update(Map<String,Object> param) throws Exception;

    String delete(String id) throws Exception;

    List<Map<String,Object>> detail(String id);

    IPage<SysEqu> getList(String inParam);

    List<SysDictData> getEquTypeBySystemCode(String systemCode);

    Map<String,Object> updateDetail(String id);


}
